
package com.market.web.action;

import org.springframework.beans.BeanUtils;

import com.market.bean.Powermagnifierboard;

public class AdminPMBSaveAction extends AdminProductAction
{
    private String voltage;

    private String current;

    private String power;

    private String thd;

    private String plus;

    private String size;

    public String getCurrent()
    {
        return current;
    }

    public void setCurrent(String current)
    {
        this.current = current;
    }

    public String getPlus()
    {
        return plus;
    }

    public void setPlus(String plus)
    {
        this.plus = plus;
    }

    public String getPower()
    {
        return power;
    }

    public void setPower(String power)
    {
        this.power = power;
    }

    public String getSize()
    {
        return size;
    }

    public void setSize(String size)
    {
        this.size = size;
    }

    public String getThd()
    {
        return thd;
    }

    public void setThd(String thd)
    {
        this.thd = thd;
    }

    public String getVoltage()
    {
        return voltage;
    }

    public void setVoltage(String voltage)
    {
        this.voltage = voltage;
    }
    
    public String execute() throws Exception
    {
        //PMBForm pmbf = (PMBForm)form;
        Powermagnifierboard pmb = new Powermagnifierboard();
        BeanUtils.copyProperties(this, pmb);
        return SaveOrUpdateProduct(pmb);
    }
}
